{php include pubTemplate("header_admin")}

<!--main-->
<div class="midder">

{php include template("admin/menu");}

<div class="page">{$pageUrl}</div>

<table class="table table-hover">

    <thead class="thead-light">
    <tr><th>ID</th><th>UserID</th><th>标题</th><th>时间</th><th>操作</th></tr>
    </thead>


<tbody>

{loop $arrTopic $key $item}
<tr><td>{$item['topicid']}</td><td>{$item['userid']}</td>

    <td>

    <a target="_blank" href="{tsUrl('topic','show',array('id'=>$item['topicid']))}">{$item['title']}</a></td>

    <td>{php echo date('Y-m-d H:i:s',$item['addtime'])}</td><td>

<a href="{SITE_URL}index.php?app=topic&ac=admin&mg=topic&ts=delete&topicid={$item['topicid']}">删除</a>

</td>
</tr>
{/loop}
</tbody>
</table>

</div>
{php include pubTemplate("footer_admin")}